<%@ page language="java" import="java.util.*,java.sql.*" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Mysql Demo</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="./ajax/ajax.js"></script>
	<script type="text/javascript" src="./ajax/json.js"></script>
  </head>
  
  <body>
    <center><input value="Ajax" onclick="startRequest();" type="button"><input value="Account Json" onclick="AccountJson();" type="button"></center>
    <div id="response"></div>
    <hr/>
    <input id="namefield" type="text" name="name"/>    <input value="GET" type="button" onclick="doGetRequest();"/>    <input value="POST" type="button" onclick="doPostRequest();"/>
    <hr/>
    <select id="skills" size="5" multiple="true">
            <option value="c">C</option>
            <option value="cpp">C++</option>
            <option value="java">Java</option>
            <option value="csharp">C#</option>
            <option value="vb">VB</option>    </select>     <br>    <input type="button" value="Send" onclick="handleSkills();"/>        <br>
<hr/>
<input id="num" type="text" value="100" name="num"/>
<input id="name" type="text" value="korpton" name="name"/>
<input id="bal" type="text" value="korpton" name="bal"/>
<input value="Account Json" onclick="handleAccount;" type="button">
  </body>
</html>

